home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / CodeWarrior Lite / Metrowerks C⁄C++ Lite / Headers / Project Stationery Support / <replace me PowerPlant>.h < prev    next >
Encoding:
Text File  |  1995-04-20  |  943 b   |  30 lines  |  [TEXT/MMCC]

  1. // ===========================================================================
  2. //    <replace me PowerPlant>.h        ©1994 Metrowerks Inc. All rights reserved.
  3. // ===========================================================================
  4. //    <replace me PowerPlant>.cp        (press Command-Tab to open the associated source file)
  5. //
  6.  
  7. #pragma once
  8.  
  9. #include <LApplication.h>
  10.  
  11.  
  12. class    CPPStarterApp : public LApplication {
  13. public:
  14.                         CPPStarterApp();        // constructor registers all PPobs
  15.     virtual             ~CPPStarterApp();        // stub destructor
  16.     
  17.         // this overriding function performs application functions
  18.         
  19.     virtual Boolean        ObeyCommand(CommandT inCommand, void* ioParam);    
  20.     
  21.         // this overriding function returns the status of menu items
  22.         
  23.     virtual void        FindCommandStatus(CommandT inCommand,
  24.                             Boolean &outEnabled, Boolean &outUsesMark,
  25.                             Char16 &outMark, Str255 outName);
  26. protected:
  27.  
  28.     virtual void        StartUp();        // overriding startup functions
  29.  
  30. };